home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970104-19970326 / 000478_news@columbia.edu _Tue Mar 25 08:49:55 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id IAA05070
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 25 Mar 1997 08:49:54 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id IAA15717
  7.     for kermit.misc@watsun; Tue, 25 Mar 1997 08:49:53 -0500 (EST)
  8. Path: news.columbia.edu!panix!news.mathworks.com!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!mindspring!uunet!in1.uu.net!205.230.225.2!news.BSDI.COM!newsfeed.orst.edu!news.uidaho.edu!stn001.ee.uidaho.edu!hunt5249
  9. From: hunt5249@uidaho.edu (Aaron Huntsinger)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: CRC
  12. Date: Mon, 24 Mar 1997 21:51:40 GMT
  13. Organization: University of Idaho
  14. Lines: 22
  15. Distribution: world
  16. Message-ID: <hunt5249.4.3336F76C@uidaho.edu>
  17. NNTP-Posting-Host: 129.101.55.221
  18. Mime-Version: 1.0
  19. Content-Type: text/plain; charset=US-ASCII
  20. Content-Transfer-Encoding: 7bit
  21. Keywords: CRC
  22. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  23. Xref: news.columbia.edu comp.protocols.kermit.misc:6810
  24.  
  25. I am trying to write a kermit program for a motorola microcontroller.  I 
  26. cannot seem to agree with the BCC that Procomm is sending with its
  27. packets.  
  28.  
  29.  
  30. Packet:  01 30 20 53 7a 2c 20 40 2d 23 59 31 7e 2a 20 20 7a 48 0d
  31.  
  32. procomm says that the BCC here is 48. 
  33.  
  34. I have code written by two different people, one from a professor of mine
  35. and the other from the book "Serial Protocols" by Tim Kientzle,  to 
  36. generate the CCITT CRC16 and both pieces of code generate the BCC of 61bb.  
  37.  
  38. I've done this with a nak packet
  39. Packet:  01 23 20 4e 33 0d
  40.  
  41. again procomm says the BCC is 33.  my two pieces of code both agree on 
  42. the value 6416.
  43.  
  44. 1)what am i missing?
  45.  
  46. Aaron Huntsinger